<!--
 * @Description: In User Settings Edit
 * @Author: your name
 * @Date: 2019-09-03 21:46:21
 * @LastEditTime: 2019-09-17 22:32:54
 * @LastEditors: Please set LastEditors
 -->
<template>
  <Row class="mo-article" :gutter="15">
    <Col :lg="{span:13,offset:3}" class="article-col article-main">
      <h2>
        <label></label>最新文章
      </h2>
      <div class="article-news">宣传位置</div>
      <ArticleBox></ArticleBox>
    </Col>
    <Col :lg="{span:5}" class="article-col article-aside">
      <div class="aside-box"></div>
    </Col>
  </Row>
</template>
<script>
import ArticleBox from "./articleBox/articleBox";

export default {
  name: "moArticle",
  data() {
    return {};
  },
  components: { ArticleBox }
};
</script>
<style lang="scss" scoped>
.mo-article {
  width: 100%;
  height: auto;
  .article-col {
    position: relative;
    height: 100%;
    min-height: 800px;
  }
  .article-main {
    position: relative;
    height: auto;
    box-sizing: border-box;
    // border-right: 1px solid #dddddd;
    overflow: auto;
    // margin-right: 7.5px;
    &::-webkit-scrollbar {
      display: block;
    }
    h2 {
      display: flex;
      padding: 10px;
      justify-content: flex-start;
      align-items: center;
      background-color: white;
      height: 45px;
      label {
        display: inline-block;
        width: 4px;
        height: 100%;
        background-color: black;
        margin-right: 10px;
        border-radius: 2px;
      }
    }
    .article-news {
      display: flex;
      justify-content: center;
      align-items: center;
      width: 100%;
      height: 100px;
      background-color: #ccc;
      margin-bottom: 15px;
    }
  }
  .article-aside {
    // margin-left: 15px;
    .aside-box {
      width: 100%;
      height: 600px;
      background-color: white;
    }
  }
}
</style>